package com.fox.stock.service;

import com.fox.stock.pojo.domain.*;
import com.fox.stock.pojo.vo.resq.PageResult;
import com.fox.stock.pojo.vo.resq.R;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface StockService {
    R<List<InnerMarketDomain>> getInnerMarketInfo();

    R<List<StockBlockDomain>> getInnerSectorIndexInfo();

    R<PageResult<StockUpdownDomain>> getStockUpDownByPageHlper(Integer page, Integer pageSize);

    R<List<StockUpdownDomain>> getStockUpDownList();

    R<Map<String, List>> getStockUpDownCount();

    void StockExport(Integer page, Integer pageSize, HttpServletResponse response);

    R<Map<String, List>> stockTradeVol4InnerMarket();

    R<Map<String, Object>> getPriceRangeInfo();

    R<List<Stock4MinuteDomain>> getStockScreenTimeSharing(String code);

    R<List<Stock4EvrDayDomain>> getStockScreenDayTimeSharing(String code);

    R<List<OutMarketDomain>> getOutMarketInfo();

    R<List<Map>> autoSearchByRtCode(String searchStr);

    R<StockRtInfoDomain> getRtInfoMainWork(String code);

    R<List<WeekKLineByRtInfoDomain>> getWeekKLineInfo(String code);

    R<StockRtDomain> getStockRtDetailInfo(String code);

    R<List<Map<String,Object>>> getTradeDetailPre10Info(String code);
}
